package com.czjtxy.extraTerm.dao;

import com.czjtxy.extraTerm.entity.DO.Tnotice;
import com.czjtxy.extraTerm.entity.VO.TnoticeVO;

import java.sql.SQLException;
import java.util.List;

/**
 * @author ZhangYing
 * @class 软件1903
 * @studentID 19852035
 * @date 2021/7/4
 */
public interface TnoticeDao extends BaseDao {
    List<TnoticeVO> getAll() throws SQLException, ClassNotFoundException;

    TnoticeVO getOne(int nid) throws SQLException, ClassNotFoundException;

    void updateNotice(Tnotice tnotice) throws SQLException, ClassNotFoundException;

    void deleteDept(int nid) throws SQLException, ClassNotFoundException;

    void addNotice(Tnotice tnotice) throws SQLException, ClassNotFoundException;

    List<TnoticeVO> getPart(Tnotice tnotice) throws SQLException, ClassNotFoundException;
}
